package com.wagn.eduservice.read;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;

import java.util.Map;

public class ListenPojo extends AnalysisEventListener<PojoRead> {
    @Override
    public void invoke(PojoRead pojoRead, AnalysisContext analysisContext) {
        System.out.println("------------"+pojoRead.getClassify1()+"------"+pojoRead.getClassify2());
    }

    public void invokeHeadMap(Map<Integer, String> headMap, AnalysisContext context) {
        System.out.println("表头:"+headMap);
    }




    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {

    }
}
